<template>
	<div class="caizhong_box">
		<ul class="caizhong_ul">
			<li class="caizhong_li te_right">
				<span class="th_span ">时间</span>
				<span class="th_span">金额</span>
				<span class="th_span">备注</span>
			</li>
			<li class="caizhong_li te_right" v-for="(item,index) in list" :key="index">
				<span class="th_span aa">{{item.created_at}}</span>
				<span class="th_span color_red">{{item.amount}}</span>
				<span class="th_span">{{item.remark}}</span>
			</li>
		</ul>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				list: [],
				time: '',//时间
				jine: '',//金额
				beizhu: '',//备注
			}
		},
		// 渲染之前
		created(){
			this.http.get("/api/member/account/change")
			.then(res=>{
				
				if (res.status_code==200) {
					
					this.list=res.data;
				}else{
					 this.$toast(res.message);
				}
			})

		},
		methods: {

		}
	}
</script>

<style scoped="scoped">
@import url("../../assets/css/ttcp/chongzhi.css");
.caizhong_box{background-color:#F2F2F2;height: 100vh;}
</style>